using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
using OBUCare.Core.Common;

namespace OBUCare.Core.Models
{
    public partial class DICT_TYPE_VALUE
    {
        public int ID { get; set; }
        public int DICT_TYPE_ID { get; set; }

        [DisplayName("标题")]        
        public string DICT_TITLE { get; set; }
        public int DICT_INDEX { get; set; }
        public string DICT_CODE { get; set; }
        public string REMARK { get; set; }
        public int  STATUS { get; set; }   
        public string CREATED_BY { get; set; }
        public System.DateTime CREATED_DATE { get; set; }
        public string MODIFY_BY { get; set; }
        public System.DateTime MODIFY_DATE { get; set; }

        public int? CodeValue {
            get
            {
                return this.DICT_CODE.ToInt();
            }
        }

        public virtual DICT_TYPE DICT_TYPE { get; set; }
    }
}
